package com.kuqi.utils;

public class UrlTool {

// ====================================后台相关请求网址=======================================

    //基础网址接口
    private static final String Base = "http://122.9.153.108:8080/app_server/";
    // private static final String Base = "http://172.31.1.251:8080/";
    public static final String banner_base = "http://122.9.153.108:81/banner/";
    public static final String video_base = "http://122.9.153.108:81/videos/";
    public static final String book_base = "http://122.9.153.108:81/books/";

    //默认空参传递
    public static final String Empty = "{\"param\" : 0}";

    //测试联通接口
    public static final String URL_CONNECT = Base + "/app/CONNECT.html";

    // 用户登录接口
    public static final String URL_LOGIN = Base + "/app/checkAccount.html";
    // 用户注册接口
    public static final String URL_REGISTER = Base + "/app/registerUser.html";

    //轮播数据查询接口
    public static final String URL_BANNER = Base + "/app/getBanner.html";
    // 促销轮播查询接口
    public static final String URL_PROMOTION = Base + "/app/getPromotion.html";
    //短视频查询接口
    public static final String URL_VIDEO = Base + "/app/getVideoInfo.html";
    // 书城书籍查询接口
    public static final String URL_BOOK = Base + "/app/getBooksByType.html";
    // 注册书籍接口
    public static final String URL_BOOK_REGISTER = Base + "/app/registerBook.html";
    // 查询书籍章节接口(根据书籍ID查询所有章节)
    public static final String URL_CHAPTER_ALL = Base + "/app/findAllChaptersByBookId.html";
    // 查询书籍章节接口(根据章节index和书籍ID查询指定的一章)
    public static final String URL_CHAPTER_INDEX = Base + "/app/findChapterWithIndex.html";
    // 查询书籍章节接口(根据章节上下限和书籍ID查询范围的N章数据)
    public static final String URL_CHAPTER_PART = Base + "/app/findChaptersWithSubsection.html";


// =========================================================================================

}
